/*
 *  This class is part of WorkTimeCalculator Android App
 *  Author: Domenico Pio Novelli
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package com.dpndeveloper.wtc.dataprovider;

import java.util.Calendar;

/**
 * <p>
 * Entity Class to represent an Work Interval containing
 * </p>
 * <ul>
 * <li>Id of interval</li>
 * <li>Start Time: start time for the interval</li>
 * <li>End Time: end time for the interval</li>
 * <li>Description: description for the interval</li>
 * <ul>
 * 
 * @author Domenico Pio Novelli
 * 
 */
public class WtcInterval {

	/* Id of interval */
	private Integer		id;

	/* Start Time */
	private Calendar	startTime;

	/* End time */
	private Calendar	endTime;

	/* Description */
	private String		description;

	/**
	 * Return the id of interval
	 * 
	 * @return Id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * Set the id of interval
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * Return the start time of interval
	 * 
	 * @return start time
	 */
	public Calendar getStartTime() {
		return startTime;
	}

	/**
	 * Set the start time of interval
	 */
	public void setStartTime(Calendar startTime) {
		this.startTime = startTime;
	}

	/**
	 * Return the end time of interval
	 * 
	 * @return end time
	 */
	public Calendar getEndTime() {
		return endTime;
	}

	/**
	 * Set the end time of interval
	 */
	public void setEndTime(Calendar endTime) {
		this.endTime = endTime;
	}

	/**
	 * Return the description of interval
	 * 
	 * @return description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * Set the description of interval
	 */
	public void setDescription(String description) {
		this.description = description;
	}

}
